package com.zoe.spring.service.solo;

import com.zoe.spring.entity.bo.HeadLine;
import com.zoe.spring.entity.bo.ShopCategory;
import com.zoe.spring.entity.dto.Result;

import java.util.List;

/**
 * @author Zoe.Zhang
 * @date 2022/01/12
 * @description
 */
public interface ShopCategoryService {
    Result<Boolean> addShopCategory(ShopCategory shopCategory);

    Result<Boolean> delShopCategory(Integer shopCategoryId);

    Result<Boolean> updateShopCategory(ShopCategory headLine);

    Result<HeadLine> getShopCategoryById(Integer shopCategoryId);

    Result<List<HeadLine>> listShopCategories(ShopCategory shopCategory, int pageIndex, int pageSize);
}
